<html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta charset="utf-8">
	<meta name="renderer" content="webkit">
	<title>机械电子工程学院</title>
	<link rel="shortcut icon" href="{{base_url()}}/Public/img/favicon.ico" /> 
	<link rel="stylesheet" type="text/css" href="{{base_url()}}/Public/css/home.css">
</head>
<body>
<div id="header">
	<div class="container">
		<a href="http://202.115.22.76" target="_blank" style="font-size:12px;color:#fff;float:right;">旧版入口</a>
		<a href="{{site_url('home')}}" class="logo" title="机械电子工程学院" >
			<img src="{{base_url()}}/Public/img/logo_new.png">
		</a>
		<div class="slogan">
			<img src="{{base_url()}}/Public/img/slogan.png">
		</div>
	</div>
</div>
<div id="navi">
	<div class="container">
		<ul class="navigations">
		{{assign var="i" value="0"}}
		{{foreach $category as $c}}
		{{if $i<10}}
			<li class="navigation">
				<a href="{{site_url("home/Judge?Id={{$c.Id}}")}}">{{h($c.CateName)}}</a>
				{{if !empty($c.Child)}}
				<ul class="sub-navi">
				{{foreach $c.Child as $child}}
					{{if $child.CateName != '院友注册' && $child.CateName != '院友登录'}}
					<li class="">
						<a href="{{site_url("home/Judge?Id={{$child.Id}}")}}" >{{h($child.CateName)}}</a>
					</li>
					{{/if}}
				{{/foreach}}
				</ul>
				{{/if}}
			</li>
		    {{assign var="i" value="{{$i+1}}"}}
		    {{/if}}
			{{/foreach}}
		</ul>
		<div class="search-btn">
			<img class="search-show" src="{{base_url()}}Public/img/searchBtn.png" title="点击搜索">
			<div class="search-text">
				<form action="{{site_url('home/Search')}}" method="post">
					<input type="text" name="search" placeholder="新闻搜索...">
				</form>
			</div>
		</div>
	</div>
</div>
